const getters = {
    username: state => state.user.name,
    userId: state => state.user.userId,
    permission_routes: state => state.permission.routes,
    permission_addRoutes: state => state.permission.addRoutes,
    isRouters: state => state.permission.isRouters,
    token: state => state.user.token,
    headImg: state => state.user.headImg
}

export default getters